<!-- search area   -->
<div class="row searchLineWrap" id="examinationDivId">
    <form class="form-horizontal" method="post" action="${cxt!}/admin/academyExamination/list" id="examinationForm">
        <div class="col-md-12">
            <div class="row">
                <div class="col-md-4">
                    <div class="form-group">
                        <label class="col-md-5 control-label">${_res["customer.reviews.userName"]}</label>
                        <div class="col-md-7">
                            <input type="text" class="form-control" name="customer.l_showname" placeholder="${_res['customer.reviews.userName']}" value="${paramMap['customer.l_showname']}" >
                        </div>
                    </div>
                </div>            
                <div class="col-md-5">
                    <div class="form-group">
                        <label class="col-md-5 control-label">${_res["customer.reviews.invitecode"]}</label>
                        <div class="col-md-7">
                            <input type="text" class="form-control" name="customer.l_invitecode" placeholder="${_res['customer.reviews.invitecode']}" value="${paramMap['customer.l_invitecode']}" >
                        </div>
                    </div>
                </div>            
                <div class="col-md-4">
                    <div class="form-group">
                        <label class="col-md-5 control-label">${_res["systemManage.telephone"]}</label>
                        <div class="col-md-7">
                            <input type="text" class="form-control" name="customer.l_telephone" placeholder="${_res['systemManage.telephone']}" value="${paramMap['customer.l_telephone']}" >
                        </div>
                    </div>
                </div>            
                
            
                <div class="col-md-5">
                    <div class="form-group">
       	                <% if(hasPrivilegeUrl("examinationList")){ %>
           	               <button type="button" class="btn btn-primary pull-right" onclick="ajaxForm('content','examinationForm')"> <i class="fa fa-search m-l-sm m-r-xs"></i>${_res["system.search"]}</button>
               	        <% } %>
                    </div>
                </div> 
            </div>
        </div>
    </form>
</div>
<div class="row searchLineWrap">
   	<% if(hasPrivilegeUrl("examinationExport")){ %>
       <p>
       	<a href="javascript:void(0);" onClick="downloadExamination();" class="btn btn-primary pull-left">${_res["system.export"]}</a>
           <div class="clearfix"></div>
       </p>
    <% } %>
    <table class="table table-bordered">
        <thead>
            <tr>
                <th>${_res["customer.reviews.userName"]}</th>
                <th>${_res["customer.reviews.invitecode"]}</th>
                <th>${_res["systemManage.telephone"]}</th>
                <th>${_res["academy.examination.result"]}</th>
                <th>${_res["academy.examination.date"]}</th>
            </tr>
        </thead>
        <tbody>
            <% for(examinationResult in splitPage.list!){ %>
            <tr>
               	<td>${examinationResult.showname!}</td>
                <td>${examinationResult.invitecode!}</td>
                <td>${examinationResult.telephone!}</td>
                <td>${examinationResult.score!}</td>
                <td>${examinationResult.createdate!}</td>
            </tr>
            <% } %>
        </tbody>
    </table>
    <div id="splitPageDiv"><#page formId="examinationForm" /></div>
    <#nav />
</div>


 <script>
	 function downloadExamination(){
		 var data = serializeObject("examinationForm");
		 var url = "/admin/academyExamination/export";
	    ajaxDownload(url,data);
	    return true;
	  };
</script>